package io.renren.modules.avanotes.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.common.vo.ReferenceMaterialVo;
import io.renren.common.vo.input.ReferenceMaterialIUVo;
import io.renren.modules.avanotes.entity.*;

import java.util.List;
import java.util.Map;

/**
 * 参考资料表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-21 12:46:54
 */
public interface ReferenceMaterialService extends IService<ReferenceMaterialEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<ReferenceMaterialVo> list4SelectByTitle(String keyword);

    ReferenceMaterialEntity getEntity(Integer id) throws Exception;

    List<ReferenceMaterialEntity> getListByScheduleId(Long id);

    Long insert(ReferenceMaterialIUVo vo);
}

